<template>
  <div>
    <h2>A组件</h2>
    <h2>msg: {{ msg }}</h2>
  </div>
</template>
<script>
export default {
  name: "AComp",
  data() {
    return {};
  },
  methods: {},
  mounted() {},
  inject: ["msg"],
};
</script>

<style lang="less" scoped></style>
